﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ImageProcessing.Forms
{
    public partial class HelpForm : Form
    {
        public HelpForm()
        {
            InitializeComponent();
        }

        private void HelpForm_Load(object sender, EventArgs e)
        {
            int boundWidth = Screen.PrimaryScreen.Bounds.Width;
            int boundHeight = Screen.PrimaryScreen.Bounds.Height;
            this.Location = new Point((boundWidth / 2) - (this.Size.Width / 2), (boundHeight / 2) - (this.Size.Height / 2));
        }

        private void HelpForm_Deactivate(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
